home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
PROGBLER
/
WASM211B.LZH
/
IO.RED
< prev
next >
Wrap
Text File
|
1987-03-30
|
3KB
|
214 lines
List-
;================================================
; IO redirection table. Accepts the specific
; routine requests defined in IO.ASM and redirects
; them to the dispatcher (in DISPATCH.ASM), which
; in turn interfaces with the IO external runtime
; library (IO.BIN). Include this file in the
; application program along with DISPATCH.ASM as
; a replacement for IO.ASM.
;--- routine substitutions, push BX and load index to BL
Clear_Str_P
Push Bx
Mov Bl, 0
Jmp Io_Redirect
Truncate_Str_P
Push Bx
Mov Bl, 1
Jmp Io_Redirect
Copy_Str_P
Push Bx
Mov Bl, 2
Jmp Io_Redirect
Append_Str_P
Push Bx
Mov Bl, 3
Jmp Io_Redirect
Append_Chrs_P
Push Bx
Mov Bl, 4
Jmp Io_Redirect
Format_Rgt_P
Push Bx
Mov Bl, 5
Jmp Io_Redirect
Justify_Rgt_P
Push Bx
Mov Bl, 6
Jmp Io_Redirect
Lower_Chr_P
Push Bx
Mov Bl, 7
Jmp Io_Redirect
Upper_Chr_P
Push Bx
Mov Bl, 8
Jmp Io_Redirect
Make_Bin_P
Push Bx
Mov Bl, 9
Jmp Io_Redirect
Make_Dec_P
Push Bx
Mov Bl, 10
Jmp Io_Redirect
Day_Str_P
Push Bx
Mov Bl, 11
Jmp Io_Redirect
Month_Str_P
Push Bx
Mov Bl, 12
Jmp Io_Redirect
Time_Str_P
Push Bx
Mov Bl, 13
Jmp Io_Redirect
Make_Nam_P
Push Bx
Mov Bl, 14
Jmp Io_Redirect
Make_Str_P
Push Bx
Mov Bl, 15
Jmp Io_Redirect
Input_Sta_P
Push Bx
Mov Bl, 16
Jmp Io_Redirect
Input_Chr_P
Push Bx
Mov Bl, 17
Jmp Io_Redirect
Input_Hid_P
Push Bx
Mov Bl, 18
Jmp Io_Redirect
Input_Str_P
Push Bx
Mov Bl, 19
Jmp Io_Redirect
Home_Cur_P
Push Bx
Mov Bl, 20
Jmp Io_Redirect
Left_Cur_P
Push Bx
Mov Bl, 21
Jmp Io_Redirect
Right_Cur_P
Push Bx
Mov Bl, 22
Jmp Io_Redirect
Up_Cur_P
Push Bx
Mov Bl, 23
Jmp Io_Redirect
Down_Cur_P
Push Bx
Mov Bl, 24
Jmp Io_Redirect
Locate_Cur_P
Push Bx
Mov Bl, 25
Jmp Io_Redirect
Normal_Atr_P
Push Bx
Mov Bl, 26
Jmp Io_Redirect
Bold_Atr_P
Push Bx
Mov Bl, 27
Jmp Io_Redirect
Underline_Atr_P
Push Bx
Mov Bl, 28
Jmp Io_Redirect
Blink_Atr_P
Push Bx
Mov Bl, 29
Jmp Io_Redirect
Reverse_Atr_P
Push Bx
Mov Bl, 30
Jmp Io_Redirect
Clear_Scr_P
Push Bx
Mov Bl, 31
Jmp Io_Redirect
Display_Chr_P
Push Bx
Mov Bl, 32
Jmp Io_Redirect
Sound_Bel_P
Push Bx
Mov Bl, 33
Jmp Io_Redirect
Line_P
Push Bx
Mov Bl, 34
Jmp Io_Redirect
Display_Str_P
Push Bx
Mov Bl, 35
Jmp Io_Redirect
Display_Lin_P
Push Bx
Mov Bl, 36
Jmp Io_Redirect
Open_Fil_P
Push Bx
Mov Bl, 37
Jmp Io_Redirect
Create_Fil_P
Push Bx
Mov Bl, 38
Jmp Io_Redirect
Delete_Fil_P
Push Bx
Mov Bl, 39
Jmp Io_Redirect
Read_Fil_P
Push Bx
Mov Bl, 40
Jmp Io_Redirect
Write_Fil_P
Push Bx
Mov Bl, 41
Jmp Io_Redirect
Seek_Fil_P
Push Bx
Mov Bl, 42
Jmp Io_Redirect
Size_Fil_P
Push Bx
Mov Bl, 43
Jmp Io_Redirect
Close_Fil_P
Push Bx
Mov Bl, 44
Jmp Io_Redirect
Free_Dsk_P
Push Bx
Mov Bl, 45
Jmp Io_Redirect
Sound_Spk_P
Push Bx
Mov Bl, 46
Jmp Io_Redirect
Save_Cur_P
Push Bx
Mov Bl, 47
Jmp Io_Redirect
Restore_Cur_P
Push Bx
Mov Bl, 48
Jmp Io_Redirect
Io_Redirect
Dispatch 'IO.BIN'